FROM openjdk:8

EXPOSE 8888
COPY target/dockertest-0.0.1-SNAPSHOT.jar app.jar
ENV JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8 -Duser.timezone=GMT+08 -Xms250M"
ENTRYPOINT ["java","$JAVA_OPTS","-jar","app.jar"]